<template>
  <view class="u-page" :style="{paddingTop: statusBarHeight + 'px'}">
    <tabBar :current="current"></tabBar>
  </view>
</template>

<script>
import statusBar from "@/components/statusBar/index.vue";
import tabBar from "@/components/tabBar/index.vue";

export default {
  components: {
    tabBar,
    statusBar
  },
  data() {
    return {
      current: "home"
    };
  },
  onLoad() {
    console.log('mounted111');
    console.log(this.statusBarHeight);
    uni.hideTabBar();
  },
  methods: {}
};
</script>

<style lang="scss"></style>
